package cn.pegasus.teamwork.pegasus.entity;

import java.io.Serializable;
import java.util.Date;

/**
TABLE:.buss_user_integraldetail  
--------------------------------------------------------
id                   Integer(10)        NOTNULL             //主键
user_id              Integer(10)        NOTNULL             //账号表id
integral_source      Integer(10)        NOTNULL  1          //积分活动id
integral_type        Integer(10)        NOTNULL  1          //状态 1:入账 2:消费
integral_nums        Integer(10)        NOTNULL  1          //积分数目
integral_time        Date(19)                    CURRENT_TIMESTAMP //创建时间
integral_description String(100)                            //备注
*/
public class BussUserIntegraldetail implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private	Integer id;
	private	Integer userId;
	private	Integer integralSource;
	private	Integer integralType;
	private	Integer integralNums;
	private	Date integralTime;
	private	String integralDescription;

	/**
	* id  Integer(10)  NOTNULL  //主键    
	*/
	public Integer getId(){
		return id;
	}
	
	/**
	* id  Integer(10)  NOTNULL  //主键    
	*/
	public void setId(Integer id){
		this.id = id;
	}
	
	/**
	* user_id  Integer(10)  NOTNULL  //账号表id    
	*/
	public Integer getUserId(){
		return userId;
	}
	
	/**
	* user_id  Integer(10)  NOTNULL  //账号表id    
	*/
	public void setUserId(Integer userId){
		this.userId = userId;
	}
	
	/**
	* integral_source  Integer(10)  NOTNULL  1  //积分活动id    
	*/
	public Integer getIntegralSource(){
		return integralSource;
	}
	
	/**
	* integral_source  Integer(10)  NOTNULL  1  //积分活动id    
	*/
	public void setIntegralSource(Integer integralSource){
		this.integralSource = integralSource;
	}
	
	/**
	* integral_type  Integer(10)  NOTNULL  1  //状态  1:入账  2:消费    
	*/
	public Integer getIntegralType(){
		return integralType;
	}
	
	/**
	* integral_type  Integer(10)  NOTNULL  1  //状态  1:入账  2:消费    
	*/
	public void setIntegralType(Integer integralType){
		this.integralType = integralType;
	}
	
	/**
	* integral_nums  Integer(10)  NOTNULL  1  //积分数目    
	*/
	public Integer getIntegralNums(){
		return integralNums;
	}
	
	/**
	* integral_nums  Integer(10)  NOTNULL  1  //积分数目    
	*/
	public void setIntegralNums(Integer integralNums){
		this.integralNums = integralNums;
	}
	
	/**
	* integral_time  Date(19)  CURRENT_TIMESTAMP  //创建时间    
	*/
	public Date getIntegralTime(){
		return integralTime;
	}
	
	/**
	* integral_time  Date(19)  CURRENT_TIMESTAMP  //创建时间    
	*/
	public void setIntegralTime(Date integralTime){
		this.integralTime = integralTime;
	}
	
	/**
	* integral_description  String(100)  //备注    
	*/
	public String getIntegralDescription(){
		return integralDescription;
	}
	
	/**
	* integral_description  String(100)  //备注    
	*/
	public void setIntegralDescription(String integralDescription){
		this.integralDescription = integralDescription;
	}
	
}